package com.zh.note.demo.collection;

/**
 * @Author: zhanghuan
 * @date: 2024/11/21 23:35
 * @description: create it
 */
public class HashConflictDemo {

    static class Book {
        int id;

    }

    public static void main(String[] args) {

        //写一个hashcode冲突案例



    }

    private static void m1() {
        System.out.println("AA".hashCode());
        System.out.println("BB".hashCode());

        System.out.println();
        System.out.println("Aa".hashCode());
        System.out.println("BB".hashCode());
    }
}
